-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Docs: Add instructions for Github Pages deployment #7786
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
built with Refined Cloudflare Pages Action⚡ Cloudflare Pages Deployment
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your help @davidde
Can we create a new section here for GitHub Pages?

Yeah sure, looks great to me! 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great but I think it can be simplified a little more?
<PackageManagerTabs> | ||
<span q:slot="pnpm"> | ||
```shell | ||
pnpm run qwik add static |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think for all (except bun?) the command can be just npx qwik add static
tsconfigPaths() | ||
], | ||
``` | ||
* Use `npm run build.full` for the build step in the `.github/workflows/main.yml` Github Action workflow: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't that what qwik build
does minus the types?
What is it?
Docs
Description
As it stands, generating a Qwik static site is a very complicated process with very little documentation. This PR gives a standard workflow using Github Pages deployment as an example.
This mini-tutorial could also be moved to a different section. I placed it inside the existing tutorial because it elaborates on getting the tutorial deployed.
Checklist
pnpm change